package com.itheima.day20.demo07;

import java.util.stream.Stream;

public class StreamMapDemo {
    public static void main(String[] args) {
        Stream<String> stream = Stream.of("123", "456", "789");
        Stream<Integer> stream1 = stream.map(Integer::parseInt);
        stream1.forEach(System.out::println);
    }
}
